package com.miyake.dsp.converter;

import com.miyake.dsp.ComplexArray;
import com.miyake.dsp.OctaveExecute;
import com.miyake.dsp.Processor;

public class DiffImplOctave implements Processor {

	private ComplexArray source;

	@Override
	public void setSource(ComplexArray source) {
		this.source = source;
	}

	@Override
	public ComplexArray getSource() {
		return this.source;
	}

	@Override
	public ComplexArray getProcessed() {
		return OctaveExecute.execute("y=diff(data1);", source, "y");
	}

	@Override
	public Object getSetting() {
		// TODO Auto-generated method stub
		return null;
	}

}
